package com.lemon.smartsafetynew.entity.me;

import java.io.Serializable;

/**
 * Created by Andrew on 2017/8/30.
 */

public class MeCompanyVo implements Serializable {

    private String company_id;
    private String company_name;
    private String company_code;
    private String view_type;
    private Integer count;
    private Boolean ifShowReturn = false;
    private Integer contingency_count=null;

    public Integer getContingency_count() {
        return contingency_count;
    }

    public void setContingency_count(Integer contingency_count) {
        this.contingency_count = contingency_count;
    }

    public Boolean getIfShowReturn() {
        return ifShowReturn;
    }

    public void setIfShowReturn(Boolean ifShowReturn) {
        this.ifShowReturn = ifShowReturn;
    }

    public String getCompany_name() {
        return company_name;
    }

    public void setCompany_name(String company_name) {
        this.company_name = company_name;
    }

    public String getCompany_code() {
        return company_code;
    }

    public void setCompany_code(String company_code) {
        this.company_code = company_code;
    }

    public String getCompany_id() {
        return company_id;
    }

    public void setCompany_id(String company_id) {
        this.company_id = company_id;
    }

    public String getView_type() {
        return view_type;
    }

    public void setView_type(String view_type) {
        this.view_type = view_type;
    }

    public Integer getTotalNum() {
        return count;
    }

    public void setTotalNum(Integer totalNum) {
        this.count = totalNum;
    }

    @Override
    public boolean equals(Object o) {

        if (this == o) {
            return true;
        }

        if (o == null || getClass() != o.getClass()) {
            return false;
        }

        MeCompanyVo that = (MeCompanyVo) o;

        return company_name != null ? company_name.equals(that.company_name) : that.company_name == null;
    }

    @Override
    public int hashCode() {
        return company_name != null ? company_name.hashCode() : 0;
    }
}
